//该页面主要用来创建路由
import VueRouter from "vue-router";
import About from '../components/About'
import Home from '../components/Home'

//创建一个路由
export default new VueRouter({
    routes:[
        {
            path:'/About',
            component:About
        },
        {
            path:'/Home',
            component:Home
        }
    ]
})